using System.Collections.Generic;

namespace pal.SvnConf.Core
{
    //Understands being a configuration provider that does not do anything
    public class NullConfigurationProvider : ISvnConfigurationProvider
    {
        public void Initialize()
        {
        }

        public void CreateUser(string userName, string password)
        {
        }

        public List<User> Users
        {
            get { return new List<User>(); }
        }

        public List<Group> Groups
        {
            get { return new List<Group>(); }
        }

        public List<Acl> Acls
        {
            get { return new List<Acl>(); }
        }

        public List<ISecurityPrincipal> AllMembers
        {
            get { return new List<ISecurityPrincipal>(); }
        }

        public void SetPassword(string userName, string newPassword)
        {
        }

        public void DeleteUser(string userName)
        {
        }

        public void CreateGroup(string groupName)
        {
        }

        public void DeleteGroup(string groupName)
        {
        }

        public void SaveChanges()
        {
        }

        public Group FindGroupByName(string groupName)
        {
            return null;
        }

        public void CreateGroup(string groupName, List<ISecurityPrincipal> members)
        {
        }
    }
}